﻿using System;

namespace ElectronicShoppingMall.Service.Services.Interface.Enterprise
{
    interface IOrderEnterpriseManager
    {
        #region //后台
        /// <summary>
        /// 接受订单
        /// </summary>
        /// <param name="orderId">订单Id</param>
        void AcceptOrderByOrderId(Guid orderId);
        /// <summary>
        /// 修改备注
        /// </summary>
        /// <param name="orderId">订单Id</param>
        void ModifyRemarkByOrderId(Guid orderId, String remark);
        /// <summary>
        /// 同意退款
        /// </summary>
        /// <param name="orderId">订单Id</param>
        void AgreeRefundByOrderId(Guid orderId);
        /// <summary>
        /// 拒绝退款
        /// </summary>
        /// <param name="orderId">订单Id</param>
        void RefuseRefundByOrderId(Guid orderId);
        /// <summary>
        /// 确认发货
        /// </summary>
        /// <param name="orderId">订单Id</param>
        void ConfirmDeliverByOrderId(Guid orderId);
        /// <summary>
        /// 同意退货
        /// </summary>
        /// <param name="orderId">订单Id</param>
        void AgreeReturnByOrderId(Guid orderId);
        /// <summary>
        /// 拒绝退货
        /// </summary>
        /// <param name="orderId">订单Id</param>
        void RefuseReturnByOrderId(Guid orderId);
        #endregion
    }
}
